/*
 * @author Brandon Wong
 */
package com.apps.ubc.cc.model;

public class FinalScheduleModel {

	private String time;
	private String building;
	private String department;
	private String course;
	private String section;
	private String alphaSplit;

	public FinalScheduleModel() {

		this.time = "";
		this.building = "";
		this.department = "";
		this.course = "";
		this.section = "";
		this.alphaSplit="";
		
	}

	public FinalScheduleModel(String time, String building, String department,
			String course, String section,String alphaSplit) {

		this.time = time;
		this.building = building;
		this.department = department;
		this.course = course;
		this.section = section;
		this.alphaSplit= alphaSplit;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getCourse() {
		return course;
	}

	public void setCourse(String course) {
		this.course = course;
	}

	public String getSection() {
		return section;
	}

	public void setSection(String section) {
		this.section = section;
	}

	public boolean isNull(FinalScheduleModel model) {
		if (model.toString().equals("FinalScheduleModel [time=, building=]"))
			return true;

		else
			return false;
	}

	@Override
	public String toString() {
		return "FinalScheduleModel [time=" + time + ", building=" + building
				+ "]";
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getBuilding() {
		return building;
	}

	public void setBuilding(String building) {
		this.building = building;
	}

	public String getAlphaSplit() {
		return alphaSplit;
	}

	public void setAlphaSplit(String alphaSplit) {
		this.alphaSplit = alphaSplit;
	}

}
